package com.xzy.ec.service.impl;

import com.xzy.ec.entity.PmsCategory;
import com.xzy.ec.mapper.PmsCategoryMapper;
import com.xzy.ec.service.IPmsCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2022-06-07
 */
@Service(value = "ss")
public class PmsCategoryServiceImpl extends ServiceImpl<PmsCategoryMapper, PmsCategory> implements IPmsCategoryService {
    @Resource
    private PmsCategoryMapper categoryMapper;

    @Override
    public List<String> getCategory(String category) {
        List<String> res=new ArrayList<>();
        res=  categoryMapper.getCategory();
        return res;
    }
}
